#include <iostream>

using namespace std;

int main() {
    string name="NVIDIA GeForce GTX 1050 Ti";
    int major=7;
    int minor=5;
    long long totalGlobalMem=2147483648;
    int maxThreadsPerBlock=1024;
    long long sharedMemPerBlock=49152;
    int regsPerBlock=65536;
    int maxThreadsPerMultiProcessor=1024;
    int multiProcessorCount=12;
    printf("设备名称: \t\t\t\t%s\n", name.c_str());
    printf("计算能力: \t\t\t\t%d.%d\n", major, minor);
    printf("设备可用全局内存: \t\t\t%lu\n", totalGlobalMem);
    printf("每线程块最大线程数: \t\t%d\n", maxThreadsPerBlock);
    //printf("设备可用全局内存容量: ");
    printf("每线程块可用共享内存容量: \t%lu bytes \n", sharedMemPerBlock);
    printf("每线程块可用寄存器数量: \t%d\n", regsPerBlock);
    //printf("每线程块最大线程数: %d\n", maxThreadsPerBlock);
    printf("每个处理器簇最大主流线程数:  %d\n", maxThreadsPerMultiProcessor);
    printf("设备中的处理器簇数量: \t\t%d\n\n\n", multiProcessorCount);
    return 0;
}